package exercise;

public class Bean {
    
    private int i;
    private static Bean b = new Bean();
    
    private Bean(){
        
    }
    
    public static Bean getBean(){
        return b;
    }

    public int getI() {
        return i;
    }

    public  void setI(int i) {
        this.i = i;
    }
    
}
